<template>
  <section class="app-main">
    <transition name="fade" mode="out-in">
      <router-view></router-view>
    </transition>
    <!-- <suspension></suspension> -->
  </section>
</template>

<script>
// import suspension from "@/components/suspension.vue";
export default {
  name: "router_view",
  props: {
    name: {
      type: String,
      default: "member",
    },
  },
  components: {
    // suspension,
  },
  created() {
    this.$router.push({ name: this.name });
  },
};
</script>

<style>
.app-main {
  width: 100% !important;
  /* height: 3000px !important; */
}
</style>
